package com.ctshk.rpc.finance.dto.onaccount;

import com.ctshk.rpc.finance.json.FileJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 挂账申请详情Dto
 */
@Data
@ApiModel(value = "OnAccountApplyDetailDTO",description = "挂账申请详情Dto")
public class OnAccountApplyDetailDTO implements Serializable {

    @ApiModelProperty(value = "申请挂账额度")
    private BigDecimal applyAmount;

    @ApiModelProperty(value = "币种名称")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "有效期至")
    private LocalDateTime expireDate;

    @ApiModelProperty(value = "业务类型")
    private List<Integer> businessType;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "附件JSON")
    private List<FileJson> filesJson;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "账户类型1 大客户/代理商挂账,2 内部中心挂账,3 集团公司挂账")
    private Integer accountType;

    @ApiModelProperty(value = "账户名称")
    private String accountName;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "联系电话")
    private String contactMobile;

    @ApiModelProperty(value = "邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "地址")
    private String location;

    @ApiModelProperty(value = "银行账户")
    private String bankAccount;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门code")
    private String deptCode;

    @ApiModelProperty(value = "申请人姓名")
    private String applyUserName;

    @ApiModelProperty(value = "申请人部门")
    private String applyUserDept;

}
